<link href="./css/style.css" rel="stylesheet" type="text/css" />
<div class="main">
<div class="cashlist">
	<p class="tt"><a>首页</a>><a>财务管理</a>><span>每日记录</span>
	
	</p>
	<div class="div">
		<form method='GET' action="?" class='search' >
			<p><span>起始日期</span><input type='date' name='stime' placeholder='起始日期' value="{$stime}" /></p>
			<p><span>截止日期</span><input type='date' name='etime' placeholder='截止日期' value="{$etime}" /></p>
			<p><input type='submit' value='立即搜索' /></p>
		</form>
	</div>
	<div class="list">
	{if($msg==0)}
	<p class='none'>未查询到资料</p>
	{else}
		
		<table>
		<tr class="after"><th>ID</th><th>日期</th><th>{$catarr[1]}</th><th>余额</th><th>微信</th><th>支付宝</th><th>{$catarr[2]}</th><th>余额</th><th>微信</th><th>支付宝</th><th>{$catarr[3]}</th><th>余额</th><th>微信</th><th>支付宝</th><th>总金额</th></tr>
	{loop $clist $key as $list}
	<tr class="remove">
		<td>{$list[Id]}</td>
		<td>{$list[addtime]}</td>
		<td>{$list[cash1]}</td>
		<td>{$list[yue1]}</td>
		<td>{$list[weixin1]}</td>
		<td>{$list[zhifubao1]}</td>
		<td>{$list[cash2]}</td>
		<td>{$list[yue2]}</td>
		<td>{$list[weixin2]}</td>
		<td>{$list[zhifubao2]}</td>
		<td>{$list[cash3]}</td>
		<td>{$list[yue3]}</td>
		<td>{$list[weixin3]}</td>
		<td>{$list[zhifubao3]}</td>
		<td>{$list[allcash]}</td>
		

	</tr>
	{/loop}
	</table>
	{$page}
	{/if}
	<script src="./js/jquery.js"></script>
	<script>
		h1 = $(".main").height();
		h2 = $(".cashlist").height();
		if(h2>h1){
			$(".main").css("height","auto");
		}
	</script>
	</div>
</div>
</div>